﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Model.EntityModel.Auth
{
    /// <summary>
    /// 菜单功能按钮
    ///</summary>
    [SugarTable("MENU_BUTTONS")]
    public class MenuButtons
    {
        /// <summary>
        ///  ID
        ///</summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, Length = 36)]
        public string Id { get; set; } = Guid.NewGuid().ToString();

        /// <summary>
        ///  所属菜单ID（关联MENU_MASTER.ID）
        ///</summary>
        [SugarColumn(ColumnName = "MENU_ID")]
        public long MenuId { get; set; }
        /// <summary>
        ///  按钮名称
        ///</summary>
        [SugarColumn(ColumnName = "BUTTON_NAME")]
        public string ButtonName { get; set; }
        /// <summary>
        ///  按钮唯一编码
        ///</summary>
        [SugarColumn(ColumnName = "BUTTON_CODE")]
        public string ButtonCode { get; set; }
        /// <summary>
        ///  后端接口请求URL
        ///</summary>
        [SugarColumn(ColumnName = "REQUEST_URL")]
        public string RequestUrl { get; set; }
        /// <summary>
        ///  备注信息
        ///</summary>
        [SugarColumn(ColumnName = "REMARK")]
        public string Remark { get; set; }
    }
}
